package com.ms.base.domain;

import java.util.Date;

/**
 * @author JamelHuang
 * @date 2018/3/1
 */
public abstract class BaseDO {
    private Long id;
    private Date createdAt;
    private Date updatedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
    public BaseDO() {
        createdAt = new Date();
        updatedAt = new Date();
    }
}
